<template>
    <div>

    </div>
</template>

<script>
    import { SetCameraInfo } from '@/util/poi'
    import { delay } from '@/util/date'
    export default {
        name: 'AIRPORT',
        props: [''],
        data() {
            return {

            };
        },

        components: {},

        computed: {},

        beforeMount() {},

        async mounted() {
            window.cloudRender.SuperAPI("RemoveAllCovering", {
                "covering_type": "poi"
            });

            await delay(200)
            // 设置镜头行为
            let jsondata = SetCameraInfo("103.992203,1.365943", 1000, 20)
            window.cloudRender.SuperAPI("SetCameraInfo", jsondata)


            await delay(1000)
            // 绕中心点旋转
            window.cloudRender.SuperAPI("SetCameraRotate", {
                "time": 300,
                "direction": "anticlockwise" //"clockwise"
            })

        },

        methods: {},

        watch: {}

    }
</script>
<style lang='' scoped>

</style>